
#ifndef _CMD_included_
#define _CMD_included_

//
// Define commands, store in program memory
//
#define CMD_NONE                      0
#define CMD_BUTTON_RIGHT              1  // 
#define CMD_BUTTON_UP                 2  // 
#define CMD_BUTTON_DOWN               3  // 
#define CMD_BUTTON_LEFT               4  // 
#define CMD_BUTTON_SELECT             5  // 

extern void CMD_handle (uint8_t command);
extern void CMD_UpdateDisplay (void);
extern void CMD_setup (void);

// Temporary while I cannot use the ISR
extern uint8_t PollButtons (void);

#endif // _CMD_included_
